﻿@model IList<MyStudio.Core.Navigation>;

<!-- START NAVIGATION -->
<div class="navbar navbar-default bs-dos-nav navbar-fixed-top sticky-navigation" role="navigation">
    <div class="container">

        <div class="navbar-header">
            <button class="navbar-toggle" data-toggle="collapse" data-target="#rock-navigation">
                <span class="icon icon-bar"></span>
                <span class="icon icon-bar"></span>
                <span class="icon icon-bar"></span>
            </button>
            <a href="#" class="navbar-brand">@ViewBag.Title</a>
        </div>
        <nav class="collapse navbar-collapse" id="rock-navigation">
            <ul class="nav navbar-nav navbar-right main-navigation">
                @foreach(var item in Model)
                {
                    <li><a href="#@item.Code" class="smoothScroll">@item.Name</a></li>
                }
            </ul>
        </nav>

    </div>
</div>
<!-- END NAVIGATION -->
